App State
@JsonClass(generateAdapter = true )
AppState stores the state of the Application when the event(Entry/Exit) was triggered by the SDK
Example:
AppState(locationPermission=ALWAYS,
batteryLevel=43,
lastRuleUpdate=2023-11-15T00:48:09.350Z,
viewState=FOREGROUND_SERVICE,
foregroundServiceEnabled=true)
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(locationPermission: LocationPermission, notificationPermission: NotificationPermission, batteryLevel: Int, lastRuleUpdate: Instant?, viewState: ViewState, foregroundServiceEnabled: Boolean)
Properties
Link copied to clipboard
Battery level of the device when the event was triggered
Link copied to clipboard
true if notification is set by App before starting the Geo-trigger/Tempo
Link copied to clipboard
Time when the last rule download occurred from SDK
Link copied to clipboard
level of permission granted for Location Access like(always/while_using/denied/restricted)
Link copied to clipboard
Notification permission access(granted/denied)